<?php
/* ========================================
 * --------------------
 *  Query.php
 * --------------------
 * Created on 29.03.2010
 * ========================================
 * $Revision: $
 * $Author: Dmitry Boycov
 * $HeadURL: $ 
 * $Id: $
 * ========================================
 * Changes ["date: description (who)"]:
 *
 * 29.03.2010: Original version (WHo)
 * 16:59:15: Time 
 */

class Query {

	protected $table = null;

	public function __construct($table){
		$this->table = $table;
	}

	/**
	 * this method build sql query
	 * @return string
	 */
	public function execute(){
		return '';
	}

	protected function escape($string) {
		if(get_magic_quotes_runtime()) $string = stripslashes($string);
		return mysql_real_escape_string($string);
	}
	
}
?>